import { PropsWithChildren } from 'react'

import 'taro-ui/dist/style/components/float-layout.scss';
import 'taro-ui/dist/style/components/input.scss';
import 'taro-ui/dist/style/components/icon.scss';
import 'taro-ui/dist/style/components/action-sheet.scss';
import 'taro-ui/dist/style/components/list.scss';
import 'taro-ui/dist/style/components/button.scss';
import "taro-ui/dist/style/components/textarea.scss";

import '@antmjs/vantui/es/uploader/style';

import './app.less'

import { initRequest } from './request'
import { useInitShell } from './hooks/useInitShell';

function App(props: PropsWithChildren<any>) {
  initRequest()
  useInitShell()
  
  return props.children
}

export default App
